﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace NPMonitor.DataModel
{
    [Table("Mails")]
    public class MailData
    {
        [Key]
        public int MailId { get; set; }

        public string From { get; set; }

        public string To { get; set; }

        public string Cc { get; set; }

        public string Bcc { get; set; }

        public string ReplyTo { get; set; }

        public string Subject { get; set; }

        public string Body { get; set; }

        public string TemplateName { get; set; }

        public DateTime CreateTime { get; set; }

        public string CreateBy { get; set; }

        public int? Priority { get; set; }

        public DateTime? SendTime { get; set; }

        public int SendStatus { get; set; }
    }
}
